<!--
数字调节器 class="easyui-numberspinner" required="required" data-options="min:1,max:99999,editable:true"
日期选择框 class="easyui-datebox" required="required"
kindedit编辑器 class="kindeditor"
如果数据库里允许空择验证是否为空 required="required"
-->
<form id="miniclient">

    <table class="grid">

        <tr style="display: ;"><td>名称：</td><td><input type="text" id="txt_comname" data-options="required:true,validType:'length[2,50]',missingMessage:'客户名称不能为空'" name="comname" class="easyui-textbox" /></td></tr>
        <tr style="display: ;"><td>联系人：</td><td><input type="text" id="txt_realname" data-options="required:true,validType:'length[2,50]',missingMessage:'只能输入汉字'" name="realname" class="easyui-textbox" /></td></tr>
        <tr style="display: ;"><td>电话：</td><td><input type="text" id="txt_tell" data-options="required:false,validType:'mobileAndTel',missingMessage:''" name="tell" class="easyui-textbox" /></td></tr>
        <tr style="display: ;"><td>手机：</td><td><input type="text" id="txt_mobile" name="mobile" data-options="required:true,validType:'mobile',missingMessage:'请输入正确手机号码'" class="easyui-textbox" /></td></tr>
        <tr style="display: ;"><td>地址：</td><td><input type="text" id="txt_address" name="address" data-options="required:true,validType:'length[2,50]',missingMessage:'地址不能为空且必须填写详细地址'" class="easyui-textbox" /></td></tr>

        <tr style="display: ;">
            <td>类别: </td>
            <td>
                <input class="easyui-combotreegrid" id="txt_fenlei" name="fenlei" data-options="
					method:'get',
					width:200,
					panelWidth:200,
					labelPosition:'top',
					url:'/sys/ashx/dichandler.ashx?categoryId=105',
					idField:'Title',
					treeField:'Title',
					columns:[[
						{field:'Title',title:'Title',width:200},
					]]">
            </td>
        </tr>


        <tr style="display: ;"><td>QQ：</td><td><input type="text" id="txt_QQ" name="QQ" data-options="required:false,validType:'QQ',missingMessage:'请输入正确QQ号码'" class="easyui-textbox" /></td></tr>
        <tr style="display: ;"><td>Email：</td><td><input type="text" id="txt_email" data-options="required:false,validType:'email',missingMessage:'请输入正确的邮箱'" name="email" class="easyui-textbox" /></td></tr>
    </table>
</form>